package com.zpark.jsoup;

import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;

import java.io.IOException;

/**
 * @PackageName: com.zpark.jsoup
 * @ClassName: Demo01
 * @Description: 载入文件从URL加载文档，使用Jsoup.connect()方法从URL加载HTML。
 * @author: RZS
 * @date: 2021/8/15  23:03
 */
public class Demo01 {
    public static void main(String[] args) throws IOException {
        Document document = Jsoup.connect("https://y.qq.com/").get();
        System.out.println(document);
    }
}
